<div class="row table-responsive no-padding">
    <div class="col-md-12">
        <table class="table table-hover">
            <thead>
            <tr>
                <th>#</th>
                <th>管理员账号</th>
                <th>姓名</th>
                <th>角色</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <?php if(!$dataList){ echo "<td>当前没有数据</td>"; }else{$i=1; foreach($dataList as $data):?>
                <tr>
                    <td><?=$i?></td>
                    <td><?=$data['loginname']?></td>
                    <td><?=$data['username']?></td>
                    <td><?=$data['role_name']?></td>
                    <td>
                        <button type="button" class="btn btn-edit btn-sm btn-success" data-adminid="<?=$data['id']?>"><i class="fa fa-edit"></i> 编辑</button>
                        <button type="button" class="btn btn-del btn-sm btn-warning" data-adminid="<?=$data['id']?>"><i class="fa fa-times"></i> 删除</button>
                    </td>
                </tr>
                <?php $i++; endforeach;}?>
            </tbody>
        </table>
    </div>
</div><!-- /.row -->
<div class="row">
    <div class="text-center">
        <?php if(isset($pageHtml)){echo $pageHtml;} ?>
    </div>
</div><!-- /.row -->